/******************************************************************************
 * Copyright (C) 2017 Chengdu Dlhd information industry co. LTD.
 * All Rights Reserved.
 * 本软件为成都顶联互动信息产业有限公司开发研制。未经本公司正式书面同意，其他任何个人、团体不得使用、复制、修改或发布本软件.
 *****************************************************************************/
package net.dgg.dggcloud.service.iboss.dao.sc;

import net.dgg.dggcloud.core.minidao.annotation.MiniDao;
import net.dgg.dggcloud.core.minidao.hibernate.MiniDaoSupportHiber;
import net.dgg.dggcloud.service.iboss.entity.ScProNodeFlow;

import java.util.List;
import java.util.Map;

/**
 * @class_name: NodeManagerDao
 * @package: net.dgg.dggcloud.service.iboss.dao.sc
 * @describe: TODO
 * @creat_user: 代杨
 * @creat_date: 2017/11/27
 * @creat_time: 15:15
 **/
@MiniDao
public interface NodeManagerDao extends MiniDaoSupportHiber<ScProNodeFlow> {
    List<Map> listNodeManagerByMap(Map map);

    Integer countNodeManagerByMap(Map map);

    List<Map> queryFieldList();

    List<Map> queryNodeList(Map map);

    List<Map> queryIskeyNodeList(Map map);

    List<Map> queryNextNodeList(Map map);

    List<Map> queryScOperationByMap(Map map);

    List<Map> queryMaxProNodeById(Map map);

    List<Map> queryAllNodeListByOrg(Map map);

    List<Map> queryYtinforByOrg(Map map);

    List<Map> queryAllNodeByDivision(Map map);

    List<Map> queryOperationinfoByProidAndNodeid(Map map);

    void updateNodeByIds(Map map);

    Integer countProcessByMap(Map map);
}
